<div ng-include="'/modules/template/header.html'"></div>

<div class="weizhi">
    <div class="container">
        <div class="row">
            <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 t_weizhi">
                当前位置->><a ui-sref="main">首页</a>->><a>我的收藏</a>
            </div>
        </div>
    </div>
</div>

<div class="t_main tt_main">
	<div class="container">
    	<div class="row">
			<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12" style="padding: 0;">
				<div ng-include="'/modules/template/member_center_menu.html'"></div> 
				<div class="col-lg-9 col-md-9 col-sm-12 col-xs-12 tt_form_box">
					<div class="ttbox" style="padding-bottom: 20px;">
						<div class="ttb-top">
							<div class="tt_title"><span>收藏夹</span></div>
						</div>
						<div id="checkBody">
							<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 sc_list" ng-repeat="collection in pageList" advan>
								<div class="sc-box">
									<div class="sc_left">
										<div class="sc_check"><input type="checkbox" value="{{collection.id}}" ng-click="toggleCheckBox(collection.id)"></div>
										<div class="sc_img"><img src="/temp/images/11130f096dbec743756b69cbb22f9.jpg"></div>
									</div>
									<div class="sc_right">
										<div class="sc-mn">
											<div class="food1 col-lg-6 col-md-6">
												<div><a ui-sref="standard_info({id:collection.id})" target="_blank">{{collection.standard_code}}</a></div>
												<div class="overline2">{{collection.standard_name}}</div>
											</div>
											<div class="food2 col-lg-2 col-md-2"></div>
	                                        <div class="food3 col-lg-4 col-md-4">
												<a class="wd4_3 cd-popup-trigger3" ng-click="getElec(collection.standard_id)">购买</a>丨
												<a ng-click="delCollection(collection.id, collection.standard_code)">删除</a>丨
												<a ng-click="tracking(collection.id, collection.standard_name)">加入跟踪</a>
											</div>
											<div class="clearfix"></div>
										</div>
									</div>
									<div class="clearfix"></div>
								</div>
							</div>
						</div>
						<pager page-count="pageCount" current-page="currentPage" total-row="totalRow" on-page-change="onPageChange()"></pager>
						<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 sc_button" id="checkHead">
							<div class="col-xs-3 sc_b0">
								<input type="checkbox" ng-click="toggleCheckBox()"><span>全选</span>
							</div>
							<div class="col-xs-3 sc_b1">
								<button type="button" ng-click="buyChecked()">购买已选</button>
							</div>
							<div class="col-xs-3 sc_b2">
								<button type="button" ng-click="delSelect()">删除已选</button>
							</div>
							<div class="col-xs-3 sc_b3">
                                <button type="button" ng-click="exportDate()">导出数据</button>
                            </div>
						</div>
						<div class="clearfix"></div>
					</div>
				</div>
			</div>
        </div>
    </div>
</div>
<div class="cd-popup3">
    <div class="cd-popup-container3">
        <div class="cd-top">
        	<div class="gb" ng-bind="elec.a100"></div>
        	<div class="" ng-bind="elec.a298"></div>
        </div>
        <div class="cd-main">
           	<div class="cd-1">
           		<div class="tu-box"><img src="/temp/images/11130f096dbec743756b69cbb22f9.jpg"></div>
           		<div class="jg-box">售价：￥<span class="jiage" ng-bind="elec.price"></span></div>
           		<div class="clearfix"></div>
           	</div>
           	<div class="cd-2">
           		<div class="bzys" >标准页数：{{elec.pageNum}}</div>
           		<div class="dgsl">
           			<div class="num">订购数量：</div>
           			<div class="add">
						<button type="button" class="jian"  id="minusnum{{elec}}" ng-click="minus(elec)"  ng-disabled="count==1"></button>
						<span  class="num"  ng-bind="count" ></span>
						<button type="button" class="jia" id="plusnum{{elec}}" ng-click="plus(elec)"></button>
					</div>
           		</div>
           	</div>
           	<div class="cd-3">
           		<button type="button" ng-click="instantaneousBuy(elec,count)">购买</button>
           	</div>
        </div>
        <a href="#0" class="cd-popup-close">X</a>
    </div>
</div>
<script type="text/javascript">
$('.cd-popup3').on('click', function(event){
    if( $(event.target).is('.cd-popup-close') || $(event.target).is('.cd-popup3') ) {
        event.preventDefault();
        $(this).removeClass('is-visible3');
    }
});
//ESC关闭
$(document).keyup(function(event){
    if(event.which=='27'){
        $('.cd-popup3').removeClass('is-visible3');
    }
});

</script>